import { ref } from 'vue'
import { defineStore } from 'pinia'
import { io } from 'socket.io-client';
import { baseUrl} from '@/utils/express/express.js'
export const useSocketStore = defineStore('socket', () => {
  const socket = ref(io(baseUrl));
  return { socket }
})
